// samsting : this file is auto create.

#include "Emr/2015-09-10/ListExecutePlanExecuteRecordsResponse.h"

namespace aliyun { namespace Emr {

ListExecutePlanExecuteRecordsResponse::ListExecutePlanExecuteRecordsResponse() {
}

int64 ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetId(void) const {
  return Id_;
}

int64 ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetExecutePlanId(void) const {
  return ExecutePlanId_;
}

const string& ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetExecutePlanName(void) const {
  return ExecutePlanName_;
}

const string& ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetStartTime(void) const {
  return StartTime_;
}

int64 ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetRunTime(void) const {
  return RunTime_;
}

int64 ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetClusterId(void) const {
  return ClusterId_;
}

const string& ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetClusterName(void) const {
  return ClusterName_;
}

int ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetClusterType(void) const {
  return ClusterType_;
}

int ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetStatus(void) const {
  return Status_;
}

bool ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetLogEnable(void) const {
  return LogEnable_;
}

const string& ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo::GetLogPath(void) const {
  return LogPath_;
}

const std::vector<ListExecutePlanExecuteRecordsResponse::ExecutePlanRecordInfo>& ListExecutePlanExecuteRecordsResponse::GetExecutePlanExecRecord(void) const {
  return ExecutePlanExecRecord_;
}

int ListExecutePlanExecuteRecordsResponse::GetTotalCount(void) const {
  return TotalCount_;
}

int ListExecutePlanExecuteRecordsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int ListExecutePlanExecuteRecordsResponse::GetPageSize(void) const {
  return PageSize_;
}

const char* ListExecutePlanExecuteRecordsResponse::BaseKey(void) {
  return "ListExecutePlanExecuteRecordsResponse";
}

void ListExecutePlanExecuteRecordsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ExecutePlanExecRecord__length = 0;
  UnmarshallerInt(ExecutePlanExecRecord__length, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord.Length");
  if(ExecutePlanExecRecord__length >= 0) {
    ExecutePlanExecRecord_.resize(ExecutePlanExecRecord__length);
    for(int i1 = 0; i1 < ExecutePlanExecRecord__length; i1++) {
      UnmarshallerInt64(ExecutePlanExecRecord_[i1].Id_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].Id");
      UnmarshallerInt64(ExecutePlanExecRecord_[i1].ExecutePlanId_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].ExecutePlanId");
      UnmarshallerString(ExecutePlanExecRecord_[i1].ExecutePlanName_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].ExecutePlanName");
      UnmarshallerString(ExecutePlanExecRecord_[i1].StartTime_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].StartTime");
      UnmarshallerInt64(ExecutePlanExecRecord_[i1].RunTime_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].RunTime");
      UnmarshallerInt64(ExecutePlanExecRecord_[i1].ClusterId_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].ClusterId");
      UnmarshallerString(ExecutePlanExecRecord_[i1].ClusterName_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].ClusterName");
      UnmarshallerInt(ExecutePlanExecRecord_[i1].ClusterType_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].ClusterType");
      UnmarshallerInt(ExecutePlanExecRecord_[i1].Status_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerBool(ExecutePlanExecRecord_[i1].LogEnable_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].LogEnable");
      UnmarshallerString(ExecutePlanExecRecord_[i1].LogPath_, response_map, "ListExecutePlanExecuteRecordsResponse.ExecutePlanExecRecord["+string_ValueOfInt(i1)+"].LogPath");
    } // for(int i1 = 0; i1 < ExecutePlanExecRecord__length; i1++) {
  } // if(ExecutePlanExecRecord__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "ListExecutePlanExecuteRecordsResponse.TotalCount");
  UnmarshallerInt(PageNumber_, response_map, "ListExecutePlanExecuteRecordsResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "ListExecutePlanExecuteRecordsResponse.PageSize");
}


} } // namespace aliyun { namespace Emr {

// end of file 
